package cn.mumzone.pos.presenter.contract;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.MemberEntity;

public interface BabyAddOrModifyContract {

    interface View extends BaseView {

        void onCreateOrModifyBabyInfoSuccess(MemberEntity.BabysBean baby, boolean isAppend);

        void onCreateOrModifyBabyInfoFailed(boolean isAppend);
    }

    interface Presenter extends BasePresenter<View> {
        void createNewBaby(String babyName, String babyBirth, String babyHeight, String babyWeight,
                           String selectGender, String babyId, String memberId, String labour);

        boolean isInputLegal(String babyName, String babyBirthday);
    }
}
